package 软件工程实验三.A1.A13;//Source file: E:\\Projects\\RationRoseProject\\GenerateCode\\Department.java


import java.util.ArrayList;
import java.util.List;

public class Department
{
   public List<Instructor> theInstructor = new ArrayList<>();
   public List<Subject> theSubject = new ArrayList<>();
   public List<Student> theStudent = new ArrayList<>();
   private String name;

   public Department(String name) {
      this.name = name;
   }

   public String getName() {
      return name;
   }

   public void addInstructor(Instructor instructor)
   {
      theInstructor.add(instructor);
   }
   public void addSubject(Subject subject){
      theSubject.add(subject);
   }
   public void addStudent(Student student){
      theStudent.add(student);
   }
   public void removeInstructor(Instructor instructor){
      theInstructor.remove(instructor);
   }
   public void removeSubject(Subject subject){
      theSubject.remove(subject);
   }
   public void removeStudent(Student student){
      theStudent.remove(student);
   }
   /**
    * @roseuid 6720E96E0212
    */
   public Department() 
   {
    
   }
}
